package com.ecode.ecny.exception;

import lombok.Data;

/**
 * @ClassName ExpCode
 * @Author mjlft
 * @Date 2021/8/12 23:21
 * @Version 1.0
 * @Description 错误码
 */
public enum ExpCode {
    PARAM_001("PARAM_001", "缺少必要参数");

    private String code;
    private String msg;

    ExpCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
